package com.ruoyi.cbs.contract.service;

import com.ruoyi.cbs.contract.domain.ContractorInsurance;

import java.util.List;

/**
 * 承包商保险Service接口
 * 
 * @author ruoyi
 * @date 2025-10-31
 */
public interface IContractorInsuranceService 
{
    /**
     * 查询承包商保险
     * 
     * @param id 承包商保险主键
     * @return 承包商保险
     */
    public ContractorInsurance selectContractorInsuranceById(Long id);

    /**
     * 查询承包商保险列表
     * 
     * @param ContractorInsurance 承包商保险
     * @return 承包商保险集合
     */
    public List<ContractorInsurance> selectContractorInsuranceList(ContractorInsurance ContractorInsurance);

    /**
     * 新增承包商保险
     * 
     * @param ContractorInsurance 承包商保险
     * @return 结果
     */
    public int insertContractorInsurance(ContractorInsurance ContractorInsurance);

    /**
     * 修改承包商保险
     * 
     * @param ContractorInsurance 承包商保险
     * @return 结果
     */
    public int updateContractorInsurance(ContractorInsurance ContractorInsurance);

    /**
     * 批量删除承包商保险
     * 
     * @param ids 需要删除的承包商保险主键集合
     * @return 结果
     */
    public int deleteContractorInsuranceByIds(Long[] ids);

    /**
     * 删除承包商保险信息
     * 
     * @param id 承包商保险主键
     * @return 结果
     */
    public int deleteContractorInsuranceById(Long id);
}
